package com.zhixing.web.api.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author dzh
 * @version 1.0.0.05020
 * <p>project: d-blog</p>
 * <p>created time: 2022/05/02 15:17</p>
 * <p>describe: 跨域配置</p>
 * <p>remarks: </p>
 **/
@Data
@Component
@ConfigurationProperties(prefix = "allowcors")
public class AllowDomainConfig {

    /**
     * 允许跨域的域名
     * */
    private String[] domain;
}
